package com.wanyang.mapper;

import com.wanyang.dos.MemberBrowseDO;
import com.wanyang.dos.MemberBrowseDOExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberBrowseDOMapper {
    long countByExample(MemberBrowseDOExample example);

    int deleteByExample(MemberBrowseDOExample example);

    int deleteByPrimaryKey(@Param("memberId") Integer memberId, @Param("postId") Integer postId);

    int insert(MemberBrowseDO record);

    int insertSelective(MemberBrowseDO record);

    MemberBrowseDO selectOneByExample(MemberBrowseDOExample example);

    List<MemberBrowseDO> selectByExample(MemberBrowseDOExample example);

    MemberBrowseDO selectByPrimaryKey(@Param("memberId") Integer memberId, @Param("postId") Integer postId);

    int updateByExampleSelective(@Param("record") MemberBrowseDO record, @Param("example") MemberBrowseDOExample example);

    int updateByExample(@Param("record") MemberBrowseDO record, @Param("example") MemberBrowseDOExample example);

    int updateByPrimaryKeySelective(MemberBrowseDO record);

    int updateByPrimaryKey(MemberBrowseDO record);
}